import requestIot from '@/utils/requestIot'
import request from '@/utils/request'

export default {
    //获取设施组设施
    queryTreeByCompanyMark(companyMark) {
        return requestIot({
            url: `/ownership/queryTreeByCompanyMark?companyMark=${companyMark}`,
            method: 'GET'
        })
    },
    //获取物联数据项
    queryRtuByCompanyMark(companyMark) {
        return request({
            url: `v3/iot/iotPlatform/queryRtuByCompanyMark?companyMark=${companyMark}`,
            method: 'GET'
        })
    },
    //数据项
    queryDataItemByCompanyMark(companyMark) {
        return request({
            url: `v3/iot/iotPlatform/queryDataItemByCompanyMark?companyMark=${companyMark}`,
            method: 'GET'
        })
    },
}
